package it.polimi.it.TravelDream.entities;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the employee database table.
 * 
 */
@Entity
@NamedQuery(name="Employee.findAll", query="SELECT e FROM Employee e")
public class Employee implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="`e-mailAddress`")
	private String e_mailAddress;

	private String name;

	private String password;

	private String surname;

	public Employee() {
	}

	public String getE_mailAddress() {
		return this.e_mailAddress;
	}

	public void setE_mailAddress(String e_mailAddress) {
		this.e_mailAddress = e_mailAddress;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSurname() {
		return this.surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

}